package com.wz.project.sap.INSPECT2UNRESTRICTED.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.wz.project.sap.INSPECT2UNRESTRICTED.mapper.ZflWmsInspect2unrestrictedMapper;
import com.wz.project.sap.INSPECT2UNRESTRICTED.domain.ZflWmsInspect2unrestricted;
import com.wz.project.sap.INSPECT2UNRESTRICTED.service.IZflWmsInspect2unrestrictedService;
import com.wz.common.utils.text.Convert;

/**
 * 质检转非限制Service业务层处理
 * 
 * @author wz
 * @date 2022-09-14
 */
@Service
public class ZflWmsInspect2unrestrictedServiceImpl implements IZflWmsInspect2unrestrictedService 
{
    @Autowired
    private ZflWmsInspect2unrestrictedMapper zflWmsInspect2unrestrictedMapper;

    /**
     * 查询质检转非限制
     * 
     * @param ZEILE 质检转非限制ID
     * @return 质检转非限制
     */
    @Override
    public ZflWmsInspect2unrestricted selectZflWmsInspect2unrestrictedById(String ZEILE)
    {
        return zflWmsInspect2unrestrictedMapper.selectZflWmsInspect2unrestrictedById(ZEILE);
    }

    /**
     * 查询质检转非限制列表
     * 
     * @param zflWmsInspect2unrestricted 质检转非限制
     * @return 质检转非限制
     */
    @Override
    public List<ZflWmsInspect2unrestricted> selectZflWmsInspect2unrestrictedList(ZflWmsInspect2unrestricted zflWmsInspect2unrestricted)
    {
        return zflWmsInspect2unrestrictedMapper.selectZflWmsInspect2unrestrictedList(zflWmsInspect2unrestricted);
    }

    /**
     * 新增质检转非限制
     * 
     * @param zflWmsInspect2unrestricted 质检转非限制
     * @return 结果
     */
    @Override
    public int insertZflWmsInspect2unrestricted(ZflWmsInspect2unrestricted zflWmsInspect2unrestricted)
    {
        return zflWmsInspect2unrestrictedMapper.insertZflWmsInspect2unrestricted(zflWmsInspect2unrestricted);
    }

    /**
     * 修改质检转非限制
     * 
     * @param zflWmsInspect2unrestricted 质检转非限制
     * @return 结果
     */
    @Override
    public int updateZflWmsInspect2unrestricted(ZflWmsInspect2unrestricted zflWmsInspect2unrestricted)
    {
        return zflWmsInspect2unrestrictedMapper.updateZflWmsInspect2unrestricted(zflWmsInspect2unrestricted);
    }

    /**
     * 删除质检转非限制对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteZflWmsInspect2unrestrictedByIds(String ids)
    {
        return zflWmsInspect2unrestrictedMapper.deleteZflWmsInspect2unrestrictedByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除质检转非限制信息
     * 
     * @param ZEILE 质检转非限制ID
     * @return 结果
     */
    @Override
    public int deleteZflWmsInspect2unrestrictedById(String ZEILE)
    {
        return zflWmsInspect2unrestrictedMapper.deleteZflWmsInspect2unrestrictedById(ZEILE);
    }
}
